class FRNet:
    def __init__(self):
        pass
    
    def size(self):
        return len(bias)
    
    def step(self):
        n_activ = []
        for n in range(self.size()):
            a = bias[n]
            for i in range(self.size()):
                a += activity[i] * weight[n][i]
            n_activ.append(this.transfer(a))
        self.activity = n_activ
            